package cn.bsb.pojo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;
/**
 * 用户
 * 
 * */
public class DevUser extends IdEntity {
	
	//用户名
	private String user_code;
	//真实姓名
	private String user_name;
	//登录密码
	private String userPassword;
	//性别 1：男 2：女
	private Integer sex;
	//出生日期
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;
	//邮箱
	private String email;
	//手机号
	private long mobile;
	//地址
	private String address;
	//创建时间
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date creattime;
	//头像存储路径
	private String pic;
	//用户状态 1：已冻结 2：未冻结
	private Integer login;
	
	public String getUser_code() {
		return user_code;
	}
	public void setUser_code(String user_code) {
		this.user_code = user_code;
	}
	public String getUser_name() {
		return user_name;
	}
	public void setUser_name(String user_name) {
		this.user_name = user_name;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public long getMobile() {
		return mobile;
	}
	public void setMobile(long mobile) {
		this.mobile = mobile;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Date getCreattime() {
		return creattime;
	}
	public void setCreattime(Date creattime) {
		this.creattime = creattime;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public Integer getLogin() {
		return login;
	}
	public void setLogin(Integer login) {
		this.login = login;
	}
	
	

}
